package com.fqh.service.impl;

import com.fqh.entity.Foodclass;
import com.fqh.mapper.FoodClassMapper;
import com.fqh.service.FoodClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Service
public class FoodClassServiceImpl implements FoodClassService {

    @Autowired
    private FoodClassMapper foodClassMapper;

    public List<Foodclass> findAllCaiType() {
        return foodClassMapper.findAllCaiType();
    }
}
